Resolve more correctly and add --extern
authorYehuda Katz + Carl Lerche <engineering@tilde.io>
Thu, 10 Jul 2014 00:48:37 +0000 (17:48 -0700)
committerYehuda Katz <wycats@gmail.com>
Thu, 10 Jul 2014 03:17:08 +0000 (20:17 -0700)
commite143491356e14d7767e38a638209476c4a57ae92
tree026f1b4928affe0f31a154f68f4dcba3906a30ad
parent2e885fa3057827879b3967f788786d8a5b4db67d
Resolve more correctly and add --extern

This commit adds support for passing --extern to dependencies. It allows
multiple copies of the same named dependency in the system, as long as
they come from different repos.
src/cargo/core/manifest.rs
src/cargo/core/mod.rs
src/cargo/core/package_id.rs
src/cargo/core/resolver.rs
src/cargo/lib.rs
src/cargo/ops/cargo_compile.rs
src/cargo/ops/cargo_rustc.rs
src/cargo/util/graph.rs
src/cargo/util/mod.rs
tests/test_cargo_compile.rs